<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Steam游戏展示平台</title>
    <link rel="stylesheet" href="../css/games.css">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
</head>
<body>
    <div id="cursor-effects"></div>
    <nav class="navbar">
        <div class="nav-brand">Steam游戏展示</div>
        <div class="search-bar">
            <input type="text" id="searchInput" placeholder="搜索游戏...">
            <button id="searchBtn"><i class="fas fa-search"></i></button>
        </div>
        <div class="nav-user">
            <span id="username"></span>
            <button id="logoutBtn">退出</button>
        </div>
    </nav>

    <div class="container">
        <aside class="sidebar">
            <h3>分类筛选</h3>
            <div class="filter-section">
                <h4>游戏类型</h4>
                <div class="filter-options" id="genreFilter">
                    <label><input type="checkbox" value="action"> 动作</label>
                    <label><input type="checkbox" value="rpg"> 角色扮演</label>
                    <label><input type="checkbox" value="strategy"> 策略</label>
                    <label><input type="checkbox" value="adventure"> 冒险</label>
                    <label><input type="checkbox" value="simulation"> 模拟</label>
                </div>
            </div>
            <div class="filter-section">
                <h4>价格范围</h4>
                <div class="price-range">
                    <input type="range" id="priceRange" min="0" max="500" step="10">
                    <span id="priceValue">¥0 - ¥500</span>
                </div>
            </div>
        </aside>

        <main class="game-grid" id="gameContainer">
            <!-- 游戏卡片将通过JavaScript动态添加 -->
        </main>
    </div>

    <script src="../js/games.js"></script>
</body>
</html> 